package
{
	
	import flash.display.Sprite;
	
	import org.copper.context.ApplicationContext;
	
	public class IocTest extends Sprite
	{
		public function IocTest()
		{
			const context:ApplicationContext = ApplicationContext.createContext(Config);
			trace(context.getObjectByName("someClass").arg);
			trace(ApplicationContext.createContext(Config).getObjectByClassName("SomeClass").arg);
			trace(context.getObjectByClassName("SomeOtherClass").m_cls.arg);
			
			context.destroy();
		}
	}
}